﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Events;
using RAD.Infrastructure;
using RAD.Modules.Scripts.Interfaces;
using RAD.Modules.Scripts.Interfaces;

namespace RAD.Modules.Scripts.Views
{
    public class DeleteShareViewPresenter : IDeleteShareViewPresenter
    {
        private IEventAggregator _eventAggregatorService;
        private RADRICommandProxy _commandProxy;
        private IScriptService _scriptService;

        public DeleteShareViewPresenter(
            IDeleteShareView view,
            IScriptService scriptService,
            RADRICommandProxy commandProxy, 
            IEventAggregator eventAggregator)
        {
            View = view;
            _eventAggregatorService = eventAggregator;
            _commandProxy = commandProxy;
            _scriptService = scriptService;


            view.Model.ComputerName = "Server";
            view.Model.ShareName = "TestFolder";
        }

        #region ICreateShareViewPresenter Members

        public IDeleteShareView View { get; set; }

        #endregion
    }
}
